package com.bdv.md.service.impl;

import org.springframework.transaction.annotation.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdv.md.dao.RemTblDao;
import com.bdv.md.model.RemTbl;
import com.bdv.md.service.RemTblService;

@Service("remTblService")
@Transactional(readOnly = false)
public class RemTblServiceImpl implements RemTblService{

	@Autowired
	RemTblDao remTblDao;
	
	public void saveOrUpdate(RemTbl remTbl) {
		remTblDao.saveOrUpdate(remTbl);
	}

	public void delete(RemTbl remTbl) {
		remTblDao.delete(remTbl);
	}

	public RemTbl findById(String id) {
		return remTblDao.findById(id);
	}

}
